/**
 * 
 */
package com.ynet.middleground.user.bean;

import javax.validation.constraints.NotNull;

import com.ynet.core.common.BaseReqObj;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @program: 2021-03-24_userCenter
 * @description: 绑定钉钉信息
 * @author: Songyf
 * @create: 2021-03-24 14:15
 **/
@Data
@ApiModel(value = "绑定钉钉信息请求", description = "绑定钉钉信息请求")
public class BindDingDingReq extends BaseReqObj {

    private static final long serialVersionUID = 4014242319850209026L;
    
    /**
     * 用户id
     */
    @ApiModelProperty(value = "用户id", notes = "用户id", dataType = "Integer", required = true)
    @NotNull(message = "用户id不能为空")
    private Integer userId;
    
    /**
     * 钉钉账号
     */
    @ApiModelProperty(value = "钉钉账号", notes = "钉钉账号", dataType = "String", required = true)
    @NotNull(message = "钉钉账号不能为空")
    private String dingtalkUserid;

}
